<script type="text/javascript" src="${base}/scripts/tool/pinyin.js"></script>
<script type="text/javascript" src="${base}/scripts/sfgl/sksh_sh_xyz.js"></script>
<form id="form_sksh_sh" method="post">
    <input name="sksh.id" type="hidden" value="${(sksh.id)!''}"/>
    <input id="pj_ids" name="pjIds" type="hidden" value=""/>
    <table style="width:100%" class="tb tab-t">
        <col width="90px;"/><col width="330px;"/><col width="100px;"/><col width="220px;"/>
        <tr>
            <th>客户名称：</th>
            <td >
                <input name="sksh.gldw.qc" readonly="readonly" value="${sksh.gldw.qc}" class="input-text" />
            </td>
            <th>单据号：</th>
            <td >
                <input name="sksh.bm" readonly="readonly" value="${sksh.bm}" class="input-text" />
            </td>
        </tr>
        <tr>
            <th>付款金额：</th>
            <td>
                <input id="sksh_sfje" name="sksh.sfje" class="input-text" readonly="readonly" type="text"  value="${(sksh.sfje)!''}"/>
            </td>
            <th>票据类型：</th>
            <td>
                <input name="sksh.pjlx.z" class="input-text" type="text"  required="true" value="${(sksh.pjlx.z)!''}"/>
            </td>
        </tr>
        <tr>
            <th>公司名称：</th>
            <td>
                <input name="sksh.sbgs.jc" class="input-text" type="text"  required="true" value="${(sksh.sbgs.jc)!''}"/>
            </td>
            <th>部门名称：</th>
            <td>
                <input name="sksh.sbbm.jc" class="input-text" type="text"  required="true" value="${(sksh.sbbm.jc)!''}"/>
            </td>
        </tr>
        <tr>
            <th>申&nbsp;请&nbsp;&nbsp;人：</th>
            <td>
                <input name="sksh.sbr.xm" class="input-text" type="text"  required="true" value="${(sksh.sbr.xm)!''}"/>
            </td>
            <th>制&nbsp;单&nbsp;&nbsp;人：</th>
            <td>
                <input name="sksh.createUser.xm" class="input-text" type="text"  required="true" value="${(sksh.createUser.xm)!''}"/>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <div id="xyz_tool" style="height:auto">
                    <ul class="niu">
                        <li><a href="javascript:void(0)" id="xyz_add" plain="true">增加 </a><a href="javascript:void(0)" id="xyz_del" class="del" plain="true"> 删除</a></li>
                    </ul>
                </div>
            </td>
        </tr>
        <tr>
            <table style="width:100% " class="tb tab-t">
                <tr>
                    <td colspan=4>
                        <div>
                            <table id="sksh_xyz_grid" style="width:718px;height:auto"
                                    singleSelect="true">
                                <thead>
                                <tr>
                                    <th name="xyz.czrq" field="czrq" width="90" align="center" editor="{type:'datebox'}">出证日期</th>
                                    <th name="xyz.ysczyh" field="ysczyh" width="93" align="center" editor="text" >出证银行</th>
                                    <th name="xyz.czr" field="czr" width="88" align="center" editor="text" >出证人</th>
                                    <th name="xyz.skr" field="skr" width="83" editor="text" align="center" >收款人</th>
                                    <th name="xyz.xyzhm" field="xyzhm" width="83" editor="text" align="center">信用证号码</th>
                                    <th name="xyz.kzf" field="kzf" width="83" editor="text" align="right">开证费</th>
                                    <th name="xyz.dqje" field="dqje" width="83" align="right" editor="{type:'numberbox',options:{required:true,precision:2}}" align="right">信用证金额</th>
                                    <th name="xyz.yll" field="yll" width="83" editor="{type:'numberbox',options:{precision:2}}" align="right">月利率(%)</th>
                                    <#--<th name="xyz.bzjbl" field="bzjbl" width="83" editor="{type:'numberbox'}">保证金比例(%)</th>-->
                                    <th name="xyz.lxe" field="lxe" width="83" editor="{type:'numberbox',options:{precision:2}}" align="right">利息额</th>
                                    <th name="xyz.jkrq" field="jkrq" width="90" editor="{type:'datebox'}" align="center">借款日期</th>
                                    <th name="xyz.dqrq" field="dqrq" width="90" editor="{type:'datebox'}" align="center">到期日期</th>
                                    <th name="xyz.sfwffx" field="sfwffx" width="83" align="center" editor="{type:'combobox',options:{valueField:'id',textField:'text',editable:false,data: [{id: '0',text: '我方付息'},{id: '1',text: '他方付息'}]}}" >付息方</th>
                                    <th name="xyz.bz" field="bz" width="68" editor="text" align="center">备注</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </tr>
    </table>
</form>

